package com.toolpage.java;

public class SortArray {
	/**
	 * @author Cold Wind Blows
	 * @param numArray,a Integer Array;
	 */
	public void sortIntegerArray(Integer[] numArray) {
		int temp = 0;
		for(int i = 0;i < numArray.length -1; i++) {
			for(int j = i+1; j < numArray.length; j++) {
				if(numArray[i] > numArray[j]) {
					temp = numArray[i];
					numArray[i] = numArray[j];
					numArray[j] = temp;
				}
			}
		}
	}
}
